-- UNITDEF -- kawnair_i --
--------------------------------------------------------------------------------

local unitName = "repbot"

--------------------------------------------------------------------------------

unitDef = {
  unitname            = [[repbot]],
  name                = [[Repair Drone]],
  description         = [[Repairs damaged units]],
  acceleration        = 0.3,
  amphibious          = false,
  bankscale           = [[0.2]], ---was 1.0
  bmcode              = [[1]],
  brakeRate           = 0.3,
  buildCostEnergy     = 0,
  buildCostMetal      = 0,
  builder             = true,
  buildDistance         = 240,  --should be long enough for repairing?
  buildTime           = 0,
  canAttack           = false,
  canRepair = true,
	canRestore = false,
	canReclaim = false,
	canAssist = true,
  canFly              = true,
  canFireControl      = 1,
  canGuard            = true,
  canMove             = true,
  canPatrol           = true,
  canstop             = true,
  canSubmerge         = false,
  category            = [[AIR NOTINF TARGET]],  --- leave out  kawn or else kawn targeting will track air
  collide             = true,
  cruiseAlt           = 80,
  defaultmissiontype  = [[VTOL_standby]],
  drag		    = 1.0, --- was 0.05
  explodeAs           = [[death]],
  floater             = true,
  footprintX          = 1,
  footprintZ          = 1,
  --hoverAttack         = true,
  --iconType            = [[av]],
  idleAutoHeal        = 5,
  idleTime            = 300,
  maneuverleashlength = [[1280]],
  mass                = 100,
  maxDamage           = 3000,
  ---maxFuel             = 250, can add when have a refueler
  maxVelocity         = 3,
  MaxWaterDepth 	    = 1,
  noAutoFire          = false,
  noChaseCategory     = [[AIR NOTARGET]],
  objectName          = [[repbot.s3o]],
  scale               = [[1.0]],
  seismicSignature    = 0,
  selfDestructAs      = [[DEATH]],
  sightDistance       = 100,
  smoothAnim          = true,
  steeringmode        = [[1]],
  TEDClass            = [[VTOL]],
  turnRate            = 792,
  workerTime          = 200,
  }

 

--------------------------------------------------------------------------------

return lowerkeys({ [unitName] = unitDef })

--------------------------------------------------------------------------------
